package com.neuedu.yyzx.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户
 *
 * @TableName customer
 */
@TableName(value = "customer")
@Data
public class Customer implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 逻辑删除标记（0：显示；1：隐藏）
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * customer_name
     */
    @TableField(value = "customer_name")
    private String customerName;

    /**
     * 年龄
     */
    @TableField(value = "customer_age")
    private Integer customerAge;

    /**
     * 性别  0：男  1：女
     */
    @TableField(value = "customer_sex")
    private Integer customerSex;

    /**
     * idcard
     */
    @TableField(value = "idcard")
    private String idcard;

    /**
     * room_no
     */
    @TableField(value = "room_no")
    private String roomNo;

    /**
     * building_no
     */
    @TableField(value = "building_no")
    private String buildingNo;

    /**
     * 入住时间
     */
    @TableField(value = "checkin_date")
    private Date checkinDate;

    /**
     * 合同到期时间
     */
    @TableField(value = "expiration_date")
    private Date expirationDate;

    /**
     * contact_tel
     */
    @TableField(value = "contact_tel")
    private String contactTel;

    /**
     * 床号
     */
    @TableField(value = "bed_id")
    private Integer bedId;

    /**
     * psychosomatic_state
     */
    @TableField(value = "psychosomatic_state")
    private String psychosomaticState;

    /**
     * attention
     */
    @TableField(value = "attention")
    private String attention;

    /**
     * 出生日期
     */
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * height
     */
    @TableField(value = "height")
    private String height;

    /**
     * weight
     */
    @TableField(value = "weight")
    private String weight;

    /**
     * 血型
     */
    @TableField(value = "blood_type")
    private String bloodType;

    /**
     * filepath
     */
    @TableField(value = "filepath")
    private String filepath;

    /**
     * 关联系统健康管家(护工)  无管家设置  -1
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 护理等级
     */
    @TableField(value = "level_id")
    private Integer levelId;

    /**
     * family_member
     */
    @TableField(value = "family_member")
    private String familyMember;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 0 正常，1 已删除
     */
    @TableField(value = "is_delete")
    private String isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}